﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YABE.Modules.Helpers
{
	public class WebHelper
	{
		public static string UrlifyTitle(string title)
		{
			return System.Web.HttpUtility.UrlEncode(title.Trim().Replace(' ', '-'));
		}

		public static string SiteRoot { get { return System.Configuration.ConfigurationSettings.AppSettings["SiteRoot"]; } }
	}
}
